﻿#region
/*******************************************************************************
** File Name:		    IAreaService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface IAreaService
    {
        #region  Auto Generation

        void AddArea(AreaModel model);

        void UpdateByAreaID(AreaModel model);

        void DeleteByAreaID(System.Int32 areaID);

        AreaModel GetByAreaID(System.Int32 areaID);

        IList<AreaModel> GetAll();

        #endregion

        IList<AreaModel> GetAllProvince();

        IList<AreaModel> GetByParentId(int ParentId);

        string GetIDPath(int areaID);
    }
}